<script>
window.onpageshow = function() {
    setTimeout(function() {
        if (sessionStorage.getItem("backToGet") == "step1") {
            sessionStorage.setItem("backToGet", "step2");
            location.assign("../back-to-get-after-post.php");
        } else {
            sessionStorage.removeItem("backToGet");
            if (window.testRunner)
                testRunner.notifyDone();
        }
    }, 0);
};
</script>
